//
//  ApiConfirmInStorage.m
//  ios-supplier
//
//  Created by benlai002 on 16/3/30.
//  Copyright © 2016年 feynmanyuan. All rights reserved.
//

#import "ApiConfirmInStorage.h"

@implementation ApiConfirmInStorage

-(instancetype)initWithUt:(NSString *)ut andWithPurchaseId:(NSInteger)purchaseId andWithDealPersonId:(NSInteger)dealPersonId andWithDealPersonName:(NSString *)dealPersonName{
    self = [super init];
    _ut = ut;
    _purchaseId = purchaseId;
    _dealPersonId = dealPersonId;
    _dealPersonName = dealPersonName;
    return self;
}

-(NSString *)requestUrl{
    return @"/opms-api/receivePurchase.do";
}
-(id)requestArgument{
    return @{@"ut":_ut,
             @"purchaseId":@(_purchaseId),
             @"dealPersonId":@(_dealPersonId),
             @"dealPersonName":_dealPersonName
             };
}


@end
